﻿<%@ Page Title="" Language="C#" MasterPageFile="~/UI/HigherManagementUI/ManagementMaster.Master"
    AutoEventWireup="true" CodeBehind="ChangeAccountInfo.aspx.cs" Inherits="HRM.UI.HigherManagementUI.Profile.ChangeAccountInfo" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="mainContentBody" runat="server">
    <link href="../../../Styles/Master/ChangeAccountCss.css" rel="stylesheet"
        type="text/css" />
    <div id="changeDiv">
        <fieldset>
            <table class="accountTB">
                <tr>
                    <td colspan="2" class="titlebar">
                        Change Account Info
                        <hr />
                    </td>
                </tr>
                <tr>
                    <td colspan="2" align="center">
                        <asp:Label runat="server" ID="msgLbl"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td class="labelName">
                        New Username :
                    </td>
                    <td class="labelInput">
                        <input type="text" id="txtUsername" runat="server" class="textboxinput" />
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator" runat="server" ControlToValidate="txtUsername"
                            Text="* New Username required" CssClass="req" />
                    </td>
                </tr>
                <tr>
                    <td class="labelName">
                        Current Password :
                    </td>
                    <td class="labelInput">
                        <input type="password" id="PsCurrent" runat="server" class="textboxinput" />
                        <asp:RequiredFieldValidator ID="RequiredFieldValidatorCP" runat="server" ControlToValidate="PsCurrent"
                            Text="* Current Password required" CssClass="req" />
                    </td>
                </tr>
                <tr>
                    <td class="labelName">
                        New Password :
                    </td>
                    <td class="labelInput">
                        <asp:TextBox runat="server" ID="PsNew" TextMode="Password" CssClass="textboxinput"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="req6" runat="server" ControlToValidate="PsNew" Text="* New password required"
                            CssClass="req" />
                    </td>
                </tr>
                <tr>
                    <td class="labelName">
                        Confirm Password :
                    </td>
                    <td class="labelInput">
                        <asp:TextBox runat="server" ID="PsConfirm" TextMode="Password" CssClass="textboxinput"></asp:TextBox>
                        <asp:CompareValidator runat="server" ID="Comp1" ControlToValidate="PsNew" ControlToCompare="PsConfirm"
                            Text="Password mismatch" CssClass="pm" />
                    </td>
                </tr>
                <tr>
                    <td>
                    </td>
                    <td>
                        <input type="submit" runat="server" id="btnChangeAccount" value="Change Account"
                            class="btnCss" onserverclick="ChangeAccount" />
                    </td>
                </tr>
            </table>
        </fieldset>
    </div>
</asp:Content>
